Dynomotion

Group: DynoMotion Message: 1414 From: Jose Date: 7/3/2011
Subject: Help me please!
Hello Everybody! I've been playing with my Kflop board for the last few days and was able to tune the stepper motors and drives within Kmotion with no problems. I'm also able to send motion commands through the Kmotion console screen. I've created an initailization file and downloaded it to the Kflop board just fine. The problem I'm having is that when I setup the mach3 plugin everything looks good, but when I go to jog the motors, nothing happens. The DRO's on the mach3 screen don't change when I press the jog buttons. I then tried using KmotionCNC and still no movements. I tried updating Mach3, restarted my PC, and still no luck. Any help will be greatly appreciated.

Regards,

Jose
Group: DynoMotion Message: 1415 From: Tom Kerekes Date: 7/3/2011
Subject: Re: Help me please!
Hi Jose,
 
Do you have a statement like this in your Init file?
 
 DefineCoordSystem(0,1,-1,-1);
Otherwise post your Init file for us to look at.
 
Regards,
TK


--- On Sun, 7/3/11, Jose <hydropro76@...> wrote:

From: Jose <hydropro76@...>
Subject: [DynoMotion] Help me please!
To: DynoMotion@yahoogroups.com
Date: Sunday, July 3, 2011, 7:05 AM

 
Hello Everybody! I've been playing with my Kflop board for the last few days and was able to tune the stepper motors and drives within Kmotion with no problems. I'm also able to send motion commands through the Kmotion console screen. I've created an initailization file and downloaded it to the Kflop board just fine. The problem I'm having is that when I setup the mach3 plugin everything looks good, but when I go to jog the motors, nothing happens. The DRO's on the mach3 screen don't change when I press the jog buttons. I then tried using KmotionCNC and still no movements. I tried updating Mach3, restarted my PC, and still no luck. Any help will be greatly appreciated.

Regards,

Jose

Group: DynoMotion Message: 1416 From: Jose Date: 7/3/2011
Subject: Re: Help me please!
Hi TK,

This is the Init file I downloaded into Kflop. Thanks for your help.

#include "KMotionDef.h"

// Defines axis 0, 1, 2 as simple step dir outputs
// enables them
// sets them as an xyz coordinate system for GCode

int main()
{
ch0->InputMode=NO_INPUT_MODE;
ch0->OutputMode=STEP_DIR_MODE;
ch0->Vel=300000;
ch0->Accel=3000000;
ch0->Jerk=30000000;
ch0->P=1;
ch0->I=0;
ch0->D=0;
ch0->FFAccel=0;
ch0->FFVel=0;
ch0->MaxI=200;
ch0->MaxErr=1000000;
ch0->MaxOutput=200;
ch0->DeadBandGain=1;
ch0->DeadBandRange=0;
ch0->InputChan0=0;
ch0->InputChan1=0;
ch0->OutputChan0=0;
ch0->OutputChan1=0;
ch0->MasterAxis=-1;
ch0->LimitSwitchOptions=0x0;
ch0->InputGain0=1;
ch0->InputGain1=1;
ch0->InputOffset0=0;
ch0->InputOffset1=0;
ch0->OutputGain=1;
ch0->OutputOffset=0;
ch0->SlaveGain=1;
ch0->BacklashMode=BACKLASH_OFF;
ch0->BacklashAmount=0;
ch0->BacklashRate=0;
ch0->invDistPerCycle=1;
ch0->Lead=0;
ch0->MaxFollowingError=1000000000;
ch0->StepperAmplitude=20;

ch0->iir[0].B0=1;
ch0->iir[0].B1=0;
ch0->iir[0].B2=0;
ch0->iir[0].A1=0;
ch0->iir[0].A2=0;

ch0->iir[1].B0=1;
ch0->iir[1].B1=0;
ch0->iir[1].B2=0;
ch0->iir[1].A1=0;
ch0->iir[1].A2=0;

ch0->iir[2].B0=0.0007689999765716;
ch0->iir[2].B1=0.001537999953143;
ch0->iir[2].B2=0.0007689999765716;
ch0->iir[2].A1=1.920809984207;
ch0->iir[2].A2=-0.9238849878311;
EnableAxisDest(0,0);

ch1->InputMode=NO_INPUT_MODE;
ch1->OutputMode=STEP_DIR_MODE;
ch1->Vel=300000;
ch1->Accel=3000000;
ch1->Jerk=30000000;
ch1->P=1;
ch1->I=0;
ch1->D=0;
ch1->FFAccel=0;
ch1->FFVel=0;
ch1->MaxI=200;
ch1->MaxErr=1000000;
ch1->MaxOutput=200;
ch1->DeadBandGain=1;
ch1->DeadBandRange=0;
ch1->InputChan0=1;
ch1->InputChan1=1;
ch1->OutputChan0=1;
ch1->OutputChan1=3;
ch1->MasterAxis=-1;
ch1->LimitSwitchOptions=0x0;
ch1->InputGain0=1;
ch1->InputGain1=1;
ch1->InputOffset0=0;
ch1->InputOffset1=0;
ch1->OutputGain=1;
ch1->OutputOffset=0;
ch1->SlaveGain=1;
ch1->BacklashMode=BACKLASH_OFF;
ch1->BacklashAmount=0;
ch1->BacklashRate=0;
ch1->invDistPerCycle=1;
ch1->Lead=0;
ch1->MaxFollowingError=1000000000;
ch1->StepperAmplitude=20;

ch1->iir[0].B0=1;
ch1->iir[0].B1=0;
ch1->iir[0].B2=0;
ch1->iir[0].A1=0;
ch1->iir[0].A2=0;

ch1->iir[1].B0=1;
ch1->iir[1].B1=0;
ch1->iir[1].B2=0;
ch1->iir[1].A1=0;
ch1->iir[1].A2=0;

ch1->iir[2].B0=1;
ch1->iir[2].B1=0;
ch1->iir[2].B2=0;
ch1->iir[2].A1=0;
ch1->iir[2].A2=0;
EnableAxisDest(1,0);

ch2->InputMode=NO_INPUT_MODE;
ch2->OutputMode=STEP_DIR_MODE;
ch2->Vel=300000;
ch2->Accel=3000000;
ch2->Jerk=30000000;
ch2->P=1;
ch2->I=0;
ch2->D=0;
ch2->FFAccel=0;
ch2->FFVel=0;
ch2->MaxI=200;
ch2->MaxErr=1000000;
ch2->MaxOutput=200;
ch2->DeadBandGain=1;
ch2->DeadBandRange=0;
ch2->InputChan0=2;
ch2->InputChan1=2;
ch2->OutputChan0=2;
ch2->OutputChan1=5;
ch2->MasterAxis=-1;
ch2->LimitSwitchOptions=0x0;
ch2->InputGain0=1;
ch2->InputGain1=1;
ch2->InputOffset0=0;
ch2->InputOffset1=0;
ch2->OutputGain=1;
ch2->OutputOffset=0;
ch2->SlaveGain=1;
ch2->BacklashMode=BACKLASH_OFF;
ch2->BacklashAmount=0;
ch2->BacklashRate=0;
ch2->invDistPerCycle=1;
ch2->Lead=0;
ch2->MaxFollowingError=1000000000;
ch2->StepperAmplitude=20;

ch2->iir[0].B0=1;
ch2->iir[0].B1=0;
ch2->iir[0].B2=0;
ch2->iir[0].A1=0;
ch2->iir[0].A2=0;

ch2->iir[1].B0=1;
ch2->iir[1].B1=0;
ch2->iir[1].B2=0;
ch2->iir[1].A1=0;
ch2->iir[1].A2=0;

ch2->iir[2].B0=1;
ch2->iir[2].B1=0;
ch2->iir[2].B2=0;
ch2->iir[2].A1=0;
ch2->iir[2].A2=0;
EnableAxisDest(2,0);

DefineCoordSystem(0,1,2,-1);

return 0;
}


--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Jose,
>  
> Do you have a statement like this in your Init file?
>  
>  DefineCoordSystem(0,1,-1,-1);
>
> Otherwise post your Init file for us to look at.
>  
> Regards,
> TK
>
>
> --- On Sun, 7/3/11, Jose <hydropro76@...> wrote:
>
>
> From: Jose <hydropro76@...>
> Subject: [DynoMotion] Help me please!
> To: DynoMotion@yahoogroups.com
> Date: Sunday, July 3, 2011, 7:05 AM
>
>
>  
>
>
>
> Hello Everybody! I've been playing with my Kflop board for the last few days and was able to tune the stepper motors and drives within Kmotion with no problems. I'm also able to send motion commands through the Kmotion console screen. I've created an initailization file and downloaded it to the Kflop board just fine. The problem I'm having is that when I setup the mach3 plugin everything looks good, but when I go to jog the motors, nothing happens. The DRO's on the mach3 screen don't change when I press the jog buttons. I then tried using KmotionCNC and still no movements. I tried updating Mach3, restarted my PC, and still no luck. Any help will be greatly appreciated.
>
> Regards,
>
> Jose
>
Group: DynoMotion Message: 1417 From: TK Date: 7/3/2011
Subject: Re: Help me please!
Hi Jose,

That looks correct.  In KmotionCNC does it show connected?  Does the DRO change?  Can you move using GCode?  If you move using the Console Screen does the KmotionCNC DRO change?

TK

On Jul 3, 2011, at 7:55 AM, "Jose" <hydropro76@...> wrote:

 

Hi TK,

This is the Init file I downloaded into Kflop. Thanks for your help.

#include "KMotionDef.h"

// Defines axis 0, 1, 2 as simple step dir outputs
// enables them
// sets them as an xyz coordinate system for GCode

int main()
{
ch0->InputMode=NO_INPUT_MODE;
ch0->OutputMode=STEP_DIR_MODE;
ch0->Vel=300000;
ch0->Accel=3000000;
ch0->Jerk=30000000;
ch0->P=1;
ch0->I=0;
ch0->D=0;
ch0->FFAccel=0;
ch0->FFVel=0;
ch0->MaxI=200;
ch0->MaxErr=1000000;
ch0->MaxOutput=200;
ch0->DeadBandGain=1;
ch0->DeadBandRange=0;
ch0->InputChan0=0;
ch0->InputChan1=0;
ch0->OutputChan0=0;
ch0->OutputChan1=0;
ch0->MasterAxis=-1;
ch0->LimitSwitchOptions=0x0;
ch0->InputGain0=1;
ch0->InputGain1=1;
ch0->InputOffset0=0;
ch0->InputOffset1=0;
ch0->OutputGain=1;
ch0->OutputOffset=0;
ch0->SlaveGain=1;
ch0->BacklashMode=BACKLASH_OFF;
ch0->BacklashAmount=0;
ch0->BacklashRate=0;
ch0->invDistPerCycle=1;
ch0->Lead=0;
ch0->MaxFollowingError=1000000000;
ch0->StepperAmplitude=20;

ch0->iir[0].B0=1;
ch0->iir[0].B1=0;
ch0->iir[0].B2=0;
ch0->iir[0].A1=0;
ch0->iir[0].A2=0;

ch0->iir[1].B0=1;
ch0->iir[1].B1=0;
ch0->iir[1].B2=0;
ch0->iir[1].A1=0;
ch0->iir[1].A2=0;

ch0->iir[2].B0=0.0007689999765716;
ch0->iir[2].B1=0.001537999953143;
ch0->iir[2].B2=0.0007689999765716;
ch0->iir[2].A1=1.920809984207;
ch0->iir[2].A2=-0.9238849878311;
EnableAxisDest(0,0);

ch1->InputMode=NO_INPUT_MODE;
ch1->OutputMode=STEP_DIR_MODE;
ch1->Vel=300000;
ch1->Accel=3000000;
ch1->Jerk=30000000;
ch1->P=1;
ch1->I=0;
ch1->D=0;
ch1->FFAccel=0;
ch1->FFVel=0;
ch1->MaxI=200;
ch1->MaxErr=1000000;
ch1->MaxOutput=200;
ch1->DeadBandGain=1;
ch1->DeadBandRange=0;
ch1->InputChan0=1;
ch1->InputChan1=1;
ch1->OutputChan0=1;
ch1->OutputChan1=3;
ch1->MasterAxis=-1;
ch1->LimitSwitchOptions=0x0;
ch1->InputGain0=1;
ch1->InputGain1=1;
ch1->InputOffset0=0;
ch1->InputOffset1=0;
ch1->OutputGain=1;
ch1->OutputOffset=0;
ch1->SlaveGain=1;
ch1->BacklashMode=BACKLASH_OFF;
ch1->BacklashAmount=0;
ch1->BacklashRate=0;
ch1->invDistPerCycle=1;
ch1->Lead=0;
ch1->MaxFollowingError=1000000000;
ch1->StepperAmplitude=20;

ch1->iir[0].B0=1;
ch1->iir[0].B1=0;
ch1->iir[0].B2=0;
ch1->iir[0].A1=0;
ch1->iir[0].A2=0;

ch1->iir[1].B0=1;
ch1->iir[1].B1=0;
ch1->iir[1].B2=0;
ch1->iir[1].A1=0;
ch1->iir[1].A2=0;

ch1->iir[2].B0=1;
ch1->iir[2].B1=0;
ch1->iir[2].B2=0;
ch1->iir[2].A1=0;
ch1->iir[2].A2=0;
EnableAxisDest(1,0);

ch2->InputMode=NO_INPUT_MODE;
ch2->OutputMode=STEP_DIR_MODE;
ch2->Vel=300000;
ch2->Accel=3000000;
ch2->Jerk=30000000;
ch2->P=1;
ch2->I=0;
ch2->D=0;
ch2->FFAccel=0;
ch2->FFVel=0;
ch2->MaxI=200;
ch2->MaxErr=1000000;
ch2->MaxOutput=200;
ch2->DeadBandGain=1;
ch2->DeadBandRange=0;
ch2->InputChan0=2;
ch2->InputChan1=2;
ch2->OutputChan0=2;
ch2->OutputChan1=5;
ch2->MasterAxis=-1;
ch2->LimitSwitchOptions=0x0;
ch2->InputGain0=1;
ch2->InputGain1=1;
ch2->InputOffset0=0;
ch2->InputOffset1=0;
ch2->OutputGain=1;
ch2->OutputOffset=0;
ch2->SlaveGain=1;
ch2->BacklashMode=BACKLASH_OFF;
ch2->BacklashAmount=0;
ch2->BacklashRate=0;
ch2->invDistPerCycle=1;
ch2->Lead=0;
ch2->MaxFollowingError=1000000000;
ch2->StepperAmplitude=20;

ch2->iir[0].B0=1;
ch2->iir[0].B1=0;
ch2->iir[0].B2=0;
ch2->iir[0].A1=0;
ch2->iir[0].A2=0;

ch2->iir[1].B0=1;
ch2->iir[1].B1=0;
ch2->iir[1].B2=0;
ch2->iir[1].A1=0;
ch2->iir[1].A2=0;

ch2->iir[2].B0=1;
ch2->iir[2].B1=0;
ch2->iir[2].B2=0;
ch2->iir[2].A1=0;
ch2->iir[2].A2=0;
EnableAxisDest(2,0);

DefineCoordSystem(0,1,2,-1);

return 0;
}

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Jose,
>  
> Do you have a statement like this in your Init file?
>  
>  DefineCoordSystem(0,1,-1,-1);
>
> Otherwise post your Init file for us to look at.
>  
> Regards,
> TK
>
>
> --- On Sun, 7/3/11, Jose <hydropro76@...> wrote:
>
>
> From: Jose <hydropro76@...>
> Subject: [DynoMotion] Help me please!
> To: DynoMotion@yahoogroups.com
> Date: Sunday, July 3, 2011, 7:05 AM
>
>
>  
>
>
>
> Hello Everybody! I've been playing with my Kflop board for the last few days and was able to tune the stepper motors and drives within Kmotion with no problems. I'm also able to send motion commands through the Kmotion console screen. I've created an initailization file and downloaded it to the Kflop board just fine. The problem I'm having is that when I setup the mach3 plugin everything looks good, but when I go to jog the motors, nothing happens. The DRO's on the mach3 screen don't change when I press the jog buttons. I then tried using KmotionCNC and still no movements. I tried updating Mach3, restarted my PC, and still no luck. Any help will be greatly appreciated.
>
> Regards,
>
> Jose
>

Group: DynoMotion Message: 1418 From: Jose Date: 7/3/2011
Subject: Re: Help me please!
Hey TK,

In KmotionCNC is does show "connected", the DRO's do change when I hit the jog buttons with no motor movement, and no it does not move with Gcode. Moving using the console screen does not change the DRO's in KmotionCNC, but it does update the location in the "AXIS" screen. Just for the record I'm using the updated ver4.25 of the Kflop software.

Regards, Jose

--- In DynoMotion@yahoogroups.com, TK <tk@...> wrote:
>
> Hi Jose,
>
> That looks correct. In KmotionCNC does it show connected? Does the DRO change? Can you move using GCode? If you move using the Console Screen does the KmotionCNC DRO change?
>
> TK
>
> On Jul 3, 2011, at 7:55 AM, "Jose" <hydropro76@...> wrote:
>
> > Hi TK,
> >
> > This is the Init file I downloaded into Kflop. Thanks for your help.
> >
> > #include "KMotionDef.h"
> >
> > // Defines axis 0, 1, 2 as simple step dir outputs
> > // enables them
> > // sets them as an xyz coordinate system for GCode
> >
> > int main()
> > {
> > ch0->InputMode=NO_INPUT_MODE;
> > ch0->OutputMode=STEP_DIR_MODE;
> > ch0->Vel=300000;
> > ch0->Accel=3000000;
> > ch0->Jerk=30000000;
> > ch0->P=1;
> > ch0->I=0;
> > ch0->D=0;
> > ch0->FFAccel=0;
> > ch0->FFVel=0;
> > ch0->MaxI=200;
> > ch0->MaxErr=1000000;
> > ch0->MaxOutput=200;
> > ch0->DeadBandGain=1;
> > ch0->DeadBandRange=0;
> > ch0->InputChan0=0;
> > ch0->InputChan1=0;
> > ch0->OutputChan0=0;
> > ch0->OutputChan1=0;
> > ch0->MasterAxis=-1;
> > ch0->LimitSwitchOptions=0x0;
> > ch0->InputGain0=1;
> > ch0->InputGain1=1;
> > ch0->InputOffset0=0;
> > ch0->InputOffset1=0;
> > ch0->OutputGain=1;
> > ch0->OutputOffset=0;
> > ch0->SlaveGain=1;
> > ch0->BacklashMode=BACKLASH_OFF;
> > ch0->BacklashAmount=0;
> > ch0->BacklashRate=0;
> > ch0->invDistPerCycle=1;
> > ch0->Lead=0;
> > ch0->MaxFollowingError=1000000000;
> > ch0->StepperAmplitude=20;
> >
> > ch0->iir[0].B0=1;
> > ch0->iir[0].B1=0;
> > ch0->iir[0].B2=0;
> > ch0->iir[0].A1=0;
> > ch0->iir[0].A2=0;
> >
> > ch0->iir[1].B0=1;
> > ch0->iir[1].B1=0;
> > ch0->iir[1].B2=0;
> > ch0->iir[1].A1=0;
> > ch0->iir[1].A2=0;
> >
> > ch0->iir[2].B0=0.0007689999765716;
> > ch0->iir[2].B1=0.001537999953143;
> > ch0->iir[2].B2=0.0007689999765716;
> > ch0->iir[2].A1=1.920809984207;
> > ch0->iir[2].A2=-0.9238849878311;
> > EnableAxisDest(0,0);
> >
> > ch1->InputMode=NO_INPUT_MODE;
> > ch1->OutputMode=STEP_DIR_MODE;
> > ch1->Vel=300000;
> > ch1->Accel=3000000;
> > ch1->Jerk=30000000;
> > ch1->P=1;
> > ch1->I=0;
> > ch1->D=0;
> > ch1->FFAccel=0;
> > ch1->FFVel=0;
> > ch1->MaxI=200;
> > ch1->MaxErr=1000000;
> > ch1->MaxOutput=200;
> > ch1->DeadBandGain=1;
> > ch1->DeadBandRange=0;
> > ch1->InputChan0=1;
> > ch1->InputChan1=1;
> > ch1->OutputChan0=1;
> > ch1->OutputChan1=3;
> > ch1->MasterAxis=-1;
> > ch1->LimitSwitchOptions=0x0;
> > ch1->InputGain0=1;
> > ch1->InputGain1=1;
> > ch1->InputOffset0=0;
> > ch1->InputOffset1=0;
> > ch1->OutputGain=1;
> > ch1->OutputOffset=0;
> > ch1->SlaveGain=1;
> > ch1->BacklashMode=BACKLASH_OFF;
> > ch1->BacklashAmount=0;
> > ch1->BacklashRate=0;
> > ch1->invDistPerCycle=1;
> > ch1->Lead=0;
> > ch1->MaxFollowingError=1000000000;
> > ch1->StepperAmplitude=20;
> >
> > ch1->iir[0].B0=1;
> > ch1->iir[0].B1=0;
> > ch1->iir[0].B2=0;
> > ch1->iir[0].A1=0;
> > ch1->iir[0].A2=0;
> >
> > ch1->iir[1].B0=1;
> > ch1->iir[1].B1=0;
> > ch1->iir[1].B2=0;
> > ch1->iir[1].A1=0;
> > ch1->iir[1].A2=0;
> >
> > ch1->iir[2].B0=1;
> > ch1->iir[2].B1=0;
> > ch1->iir[2].B2=0;
> > ch1->iir[2].A1=0;
> > ch1->iir[2].A2=0;
> > EnableAxisDest(1,0);
> >
> > ch2->InputMode=NO_INPUT_MODE;
> > ch2->OutputMode=STEP_DIR_MODE;
> > ch2->Vel=300000;
> > ch2->Accel=3000000;
> > ch2->Jerk=30000000;
> > ch2->P=1;
> > ch2->I=0;
> > ch2->D=0;
> > ch2->FFAccel=0;
> > ch2->FFVel=0;
> > ch2->MaxI=200;
> > ch2->MaxErr=1000000;
> > ch2->MaxOutput=200;
> > ch2->DeadBandGain=1;
> > ch2->DeadBandRange=0;
> > ch2->InputChan0=2;
> > ch2->InputChan1=2;
> > ch2->OutputChan0=2;
> > ch2->OutputChan1=5;
> > ch2->MasterAxis=-1;
> > ch2->LimitSwitchOptions=0x0;
> > ch2->InputGain0=1;
> > ch2->InputGain1=1;
> > ch2->InputOffset0=0;
> > ch2->InputOffset1=0;
> > ch2->OutputGain=1;
> > ch2->OutputOffset=0;
> > ch2->SlaveGain=1;
> > ch2->BacklashMode=BACKLASH_OFF;
> > ch2->BacklashAmount=0;
> > ch2->BacklashRate=0;
> > ch2->invDistPerCycle=1;
> > ch2->Lead=0;
> > ch2->MaxFollowingError=1000000000;
> > ch2->StepperAmplitude=20;
> >
> > ch2->iir[0].B0=1;
> > ch2->iir[0].B1=0;
> > ch2->iir[0].B2=0;
> > ch2->iir[0].A1=0;
> > ch2->iir[0].A2=0;
> >
> > ch2->iir[1].B0=1;
> > ch2->iir[1].B1=0;
> > ch2->iir[1].B2=0;
> > ch2->iir[1].A1=0;
> > ch2->iir[1].A2=0;
> >
> > ch2->iir[2].B0=1;
> > ch2->iir[2].B1=0;
> > ch2->iir[2].B2=0;
> > ch2->iir[2].A1=0;
> > ch2->iir[2].A2=0;
> > EnableAxisDest(2,0);
> >
> > DefineCoordSystem(0,1,2,-1);
> >
> > return 0;
> > }
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Jose,
> > > Â
> > > Do you have a statement like this in your Init file?
> > > Â
> > > Â DefineCoordSystem(0,1,-1,-1);
> > >
> > > Otherwise post your Init file for us to look at.
> > > Â
> > > Regards,
> > > TK
> > >
> > >
> > > --- On Sun, 7/3/11, Jose <hydropro76@> wrote:
> > >
> > >
> > > From: Jose <hydropro76@>
> > > Subject: [DynoMotion] Help me please!
> > > To: DynoMotion@yahoogroups.com
> > > Date: Sunday, July 3, 2011, 7:05 AM
> > >
> > >
> > > Â
> > >
> > >
> > >
> > > Hello Everybody! I've been playing with my Kflop board for the last few days and was able to tune the stepper motors and drives within Kmotion with no problems. I'm also able to send motion commands through the Kmotion console screen. I've created an initailization file and downloaded it to the Kflop board just fine. The problem I'm having is that when I setup the mach3 plugin everything looks good, but when I go to jog the motors, nothing happens. The DRO's on the mach3 screen don't change when I press the jog buttons. I then tried using KmotionCNC and still no movements. I tried updating Mach3, restarted my PC, and still no luck. Any help will be greatly appreciated.
> > >
> > > Regards,
> > >
> > > Jose
> > >
> >
> >
>
Group: DynoMotion Message: 1419 From: TK Date: 7/3/2011
Subject: Re: Help me please!
Do you have "Simulate" checked in KmotionCNC?  What color are the DROs?

TK

On Jul 3, 2011, at 9:51 AM, "Jose" <hydropro76@...> wrote:

 



Hey TK,

In KmotionCNC is does show "connected", the DRO's do change when I hit the jog buttons with no motor movement, and no it does not move with Gcode. Moving using the console screen does not change the DRO's in KmotionCNC, but it does update the location in the "AXIS" screen. Just for the record I'm using the updated ver4.25 of the Kflop software.

Regards, Jose

--- In DynoMotion@yahoogroups.com, TK <tk@...> wrote:
>
> Hi Jose,
>
> That looks correct. In KmotionCNC does it show connected? Does the DRO change? Can you move using GCode? If you move using the Console Screen does the KmotionCNC DRO change?
>
> TK
>
> On Jul 3, 2011, at 7:55 AM, "Jose" <hydropro76@...> wrote:
>
> > Hi TK,
> >
> > This is the Init file I downloaded into Kflop. Thanks for your help.
> >
> > #include "KMotionDef.h"
> >
> > // Defines axis 0, 1, 2 as simple step dir outputs
> > // enables them
> > // sets them as an xyz coordinate system for GCode
> >
> > int main()
> > {
> > ch0->InputMode=NO_INPUT_MODE;
> > ch0->OutputMode=STEP_DIR_MODE;
> > ch0->Vel=300000;
> > ch0->Accel=3000000;
> > ch0->Jerk=30000000;
> > ch0->P=1;
> > ch0->I=0;
> > ch0->D=0;
> > ch0->FFAccel=0;
> > ch0->FFVel=0;
> > ch0->MaxI=200;
> > ch0->MaxErr=1000000;
> > ch0->MaxOutput=200;
> > ch0->DeadBandGain=1;
> > ch0->DeadBandRange=0;
> > ch0->InputChan0=0;
> > ch0->InputChan1=0;
> > ch0->OutputChan0=0;
> > ch0->OutputChan1=0;
> > ch0->MasterAxis=-1;
> > ch0->LimitSwitchOptions=0x0;
> > ch0->InputGain0=1;
> > ch0->InputGain1=1;
> > ch0->InputOffset0=0;
> > ch0->InputOffset1=0;
> > ch0->OutputGain=1;
> > ch0->OutputOffset=0;
> > ch0->SlaveGain=1;
> > ch0->BacklashMode=BACKLASH_OFF;
> > ch0->BacklashAmount=0;
> > ch0->BacklashRate=0;
> > ch0->invDistPerCycle=1;
> > ch0->Lead=0;
> > ch0->MaxFollowingError=1000000000;
> > ch0->StepperAmplitude=20;
> >
> > ch0->iir[0].B0=1;
> > ch0->iir[0].B1=0;
> > ch0->iir[0].B2=0;
> > ch0->iir[0].A1=0;
> > ch0->iir[0].A2=0;
> >
> > ch0->iir[1].B0=1;
> > ch0->iir[1].B1=0;
> > ch0->iir[1].B2=0;
> > ch0->iir[1].A1=0;
> > ch0->iir[1].A2=0;
> >
> > ch0->iir[2].B0=0.0007689999765716;
> > ch0->iir[2].B1=0.001537999953143;
> > ch0->iir[2].B2=0.0007689999765716;
> > ch0->iir[2].A1=1.920809984207;
> > ch0->iir[2].A2=-0.9238849878311;
> > EnableAxisDest(0,0);
> >
> > ch1->InputMode=NO_INPUT_MODE;
> > ch1->OutputMode=STEP_DIR_MODE;
> > ch1->Vel=300000;
> > ch1->Accel=3000000;
> > ch1->Jerk=30000000;
> > ch1->P=1;
> > ch1->I=0;
> > ch1->D=0;
> > ch1->FFAccel=0;
> > ch1->FFVel=0;
> > ch1->MaxI=200;
> > ch1->MaxErr=1000000;
> > ch1->MaxOutput=200;
> > ch1->DeadBandGain=1;
> > ch1->DeadBandRange=0;
> > ch1->InputChan0=1;
> > ch1->InputChan1=1;
> > ch1->OutputChan0=1;
> > ch1->OutputChan1=3;
> > ch1->MasterAxis=-1;
> > ch1->LimitSwitchOptions=0x0;
> > ch1->InputGain0=1;
> > ch1->InputGain1=1;
> > ch1->InputOffset0=0;
> > ch1->InputOffset1=0;
> > ch1->OutputGain=1;
> > ch1->OutputOffset=0;
> > ch1->SlaveGain=1;
> > ch1->BacklashMode=BACKLASH_OFF;
> > ch1->BacklashAmount=0;
> > ch1->BacklashRate=0;
> > ch1->invDistPerCycle=1;
> > ch1->Lead=0;
> > ch1->MaxFollowingError=1000000000;
> > ch1->StepperAmplitude=20;
> >
> > ch1->iir[0].B0=1;
> > ch1->iir[0].B1=0;
> > ch1->iir[0].B2=0;
> > ch1->iir[0].A1=0;
> > ch1->iir[0].A2=0;
> >
> > ch1->iir[1].B0=1;
> > ch1->iir[1].B1=0;
> > ch1->iir[1].B2=0;
> > ch1->iir[1].A1=0;
> > ch1->iir[1].A2=0;
> >
> > ch1->iir[2].B0=1;
> > ch1->iir[2].B1=0;
> > ch1->iir[2].B2=0;
> > ch1->iir[2].A1=0;
> > ch1->iir[2].A2=0;
> > EnableAxisDest(1,0);
> >
> > ch2->InputMode=NO_INPUT_MODE;
> > ch2->OutputMode=STEP_DIR_MODE;
> > ch2->Vel=300000;
> > ch2->Accel=3000000;
> > ch2->Jerk=30000000;
> > ch2->P=1;
> > ch2->I=0;
> > ch2->D=0;
> > ch2->FFAccel=0;
> > ch2->FFVel=0;
> > ch2->MaxI=200;
> > ch2->MaxErr=1000000;
> > ch2->MaxOutput=200;
> > ch2->DeadBandGain=1;
> > ch2->DeadBandRange=0;
> > ch2->InputChan0=2;
> > ch2->InputChan1=2;
> > ch2->OutputChan0=2;
> > ch2->OutputChan1=5;
> > ch2->MasterAxis=-1;
> > ch2->LimitSwitchOptions=0x0;
> > ch2->InputGain0=1;
> > ch2->InputGain1=1;
> > ch2->InputOffset0=0;
> > ch2->InputOffset1=0;
> > ch2->OutputGain=1;
> > ch2->OutputOffset=0;
> > ch2->SlaveGain=1;
> > ch2->BacklashMode=BACKLASH_OFF;
> > ch2->BacklashAmount=0;
> > ch2->BacklashRate=0;
> > ch2->invDistPerCycle=1;
> > ch2->Lead=0;
> > ch2->MaxFollowingError=1000000000;
> > ch2->StepperAmplitude=20;
> >
> > ch2->iir[0].B0=1;
> > ch2->iir[0].B1=0;
> > ch2->iir[0].B2=0;
> > ch2->iir[0].A1=0;
> > ch2->iir[0].A2=0;
> >
> > ch2->iir[1].B0=1;
> > ch2->iir[1].B1=0;
> > ch2->iir[1].B2=0;
> > ch2->iir[1].A1=0;
> > ch2->iir[1].A2=0;
> >
> > ch2->iir[2].B0=1;
> > ch2->iir[2].B1=0;
> > ch2->iir[2].B2=0;
> > ch2->iir[2].A1=0;
> > ch2->iir[2].A2=0;
> > EnableAxisDest(2,0);
> >
> > DefineCoordSystem(0,1,2,-1);
> >
> > return 0;
> > }
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Jose,
> > > Â
> > > Do you have a statement like this in your Init file?
> > > Â
> > > Â DefineCoordSystem(0,1,-1,-1);
> > >
> > > Otherwise post your Init file for us to look at.
> > > Â
> > > Regards,
> > > TK
> > >
> > >
> > > --- On Sun, 7/3/11, Jose <hydropro76@> wrote:
> > >
> > >
> > > From: Jose <hydropro76@>
> > > Subject: [DynoMotion] Help me please!
> > > To: DynoMotion@yahoogroups.com
> > > Date: Sunday, July 3, 2011, 7:05 AM
> > >
> > >
> > > Â
> > >
> > >
> > >
> > > Hello Everybody! I've been playing with my Kflop board for the last few days and was able to tune the stepper motors and drives within Kmotion with no problems. I'm also able to send motion commands through the Kmotion console screen. I've created an initailization file and downloaded it to the Kflop board just fine. The problem I'm having is that when I setup the mach3 plugin everything looks good, but when I go to jog the motors, nothing happens. The DRO's on the mach3 screen don't change when I press the jog buttons. I then tried using KmotionCNC and still no movements. I tried updating Mach3, restarted my PC, and still no luck. Any help will be greatly appreciated.
> > >
> > > Regards,
> > >
> > > Jose
> > >
> >
> >
>

Group: DynoMotion Message: 1420 From: Jose Date: 7/3/2011
Subject: Re: Help me please!
That was it! The simulate box is checked when KmotionCNC starts up. Kmotion CNC works fine now. I tried Mach3 again but still no movement in the DRO's or motors! The status bar on Mach3 states "Dynomotion status: OK". The motor output pins in Mach3 are set to Step/Dir Xaxis 8/9 Yaxis 10/11 Zaxis 12/13 is this correct? Maybe I should downgrade to an older version of Mach3. What version are you using v2.63? Also when I restart Mach3 the Dynomotion Plugin is disabled and needs to be enabled before the "status: ok" message is displayed. Thanks again.

Regards, Jose



--- In DynoMotion@yahoogroups.com, TK <tk@...> wrote:
>
> Do you have "Simulate" checked in KmotionCNC? What color are the DROs?
>
> TK
>
> On Jul 3, 2011, at 9:51 AM, "Jose" <hydropro76@...> wrote:
>
> >
> >
> > Hey TK,
> >
> > In KmotionCNC is does show "connected", the DRO's do change when I hit the jog buttons with no motor movement, and no it does not move with Gcode. Moving using the console screen does not change the DRO's in KmotionCNC, but it does update the location in the "AXIS" screen. Just for the record I'm using the updated ver4.25 of the Kflop software.
> >
> > Regards, Jose
> >
> > --- In DynoMotion@yahoogroups.com, TK <tk@> wrote:
> > >
> > > Hi Jose,
> > >
> > > That looks correct. In KmotionCNC does it show connected? Does the DRO change? Can you move using GCode? If you move using the Console Screen does the KmotionCNC DRO change?
> > >
> > > TK
> > >
> > > On Jul 3, 2011, at 7:55 AM, "Jose" <hydropro76@> wrote:
> > >
> > > > Hi TK,
> > > >
> > > > This is the Init file I downloaded into Kflop. Thanks for your help.
> > > >
> > > > #include "KMotionDef.h"
> > > >
> > > > // Defines axis 0, 1, 2 as simple step dir outputs
> > > > // enables them
> > > > // sets them as an xyz coordinate system for GCode
> > > >
> > > > int main()
> > > > {
> > > > ch0->InputMode=NO_INPUT_MODE;
> > > > ch0->OutputMode=STEP_DIR_MODE;
> > > > ch0->Vel=300000;
> > > > ch0->Accel=3000000;
> > > > ch0->Jerk=30000000;
> > > > ch0->P=1;
> > > > ch0->I=0;
> > > > ch0->D=0;
> > > > ch0->FFAccel=0;
> > > > ch0->FFVel=0;
> > > > ch0->MaxI=200;
> > > > ch0->MaxErr=1000000;
> > > > ch0->MaxOutput=200;
> > > > ch0->DeadBandGain=1;
> > > > ch0->DeadBandRange=0;
> > > > ch0->InputChan0=0;
> > > > ch0->InputChan1=0;
> > > > ch0->OutputChan0=0;
> > > > ch0->OutputChan1=0;
> > > > ch0->MasterAxis=-1;
> > > > ch0->LimitSwitchOptions=0x0;
> > > > ch0->InputGain0=1;
> > > > ch0->InputGain1=1;
> > > > ch0->InputOffset0=0;
> > > > ch0->InputOffset1=0;
> > > > ch0->OutputGain=1;
> > > > ch0->OutputOffset=0;
> > > > ch0->SlaveGain=1;
> > > > ch0->BacklashMode=BACKLASH_OFF;
> > > > ch0->BacklashAmount=0;
> > > > ch0->BacklashRate=0;
> > > > ch0->invDistPerCycle=1;
> > > > ch0->Lead=0;
> > > > ch0->MaxFollowingError=1000000000;
> > > > ch0->StepperAmplitude=20;
> > > >
> > > > ch0->iir[0].B0=1;
> > > > ch0->iir[0].B1=0;
> > > > ch0->iir[0].B2=0;
> > > > ch0->iir[0].A1=0;
> > > > ch0->iir[0].A2=0;
> > > >
> > > > ch0->iir[1].B0=1;
> > > > ch0->iir[1].B1=0;
> > > > ch0->iir[1].B2=0;
> > > > ch0->iir[1].A1=0;
> > > > ch0->iir[1].A2=0;
> > > >
> > > > ch0->iir[2].B0=0.0007689999765716;
> > > > ch0->iir[2].B1=0.001537999953143;
> > > > ch0->iir[2].B2=0.0007689999765716;
> > > > ch0->iir[2].A1=1.920809984207;
> > > > ch0->iir[2].A2=-0.9238849878311;
> > > > EnableAxisDest(0,0);
> > > >
> > > > ch1->InputMode=NO_INPUT_MODE;
> > > > ch1->OutputMode=STEP_DIR_MODE;
> > > > ch1->Vel=300000;
> > > > ch1->Accel=3000000;
> > > > ch1->Jerk=30000000;
> > > > ch1->P=1;
> > > > ch1->I=0;
> > > > ch1->D=0;
> > > > ch1->FFAccel=0;
> > > > ch1->FFVel=0;
> > > > ch1->MaxI=200;
> > > > ch1->MaxErr=1000000;
> > > > ch1->MaxOutput=200;
> > > > ch1->DeadBandGain=1;
> > > > ch1->DeadBandRange=0;
> > > > ch1->InputChan0=1;
> > > > ch1->InputChan1=1;
> > > > ch1->OutputChan0=1;
> > > > ch1->OutputChan1=3;
> > > > ch1->MasterAxis=-1;
> > > > ch1->LimitSwitchOptions=0x0;
> > > > ch1->InputGain0=1;
> > > > ch1->InputGain1=1;
> > > > ch1->InputOffset0=0;
> > > > ch1->InputOffset1=0;
> > > > ch1->OutputGain=1;
> > > > ch1->OutputOffset=0;
> > > > ch1->SlaveGain=1;
> > > > ch1->BacklashMode=BACKLASH_OFF;
> > > > ch1->BacklashAmount=0;
> > > > ch1->BacklashRate=0;
> > > > ch1->invDistPerCycle=1;
> > > > ch1->Lead=0;
> > > > ch1->MaxFollowingError=1000000000;
> > > > ch1->StepperAmplitude=20;
> > > >
> > > > ch1->iir[0].B0=1;
> > > > ch1->iir[0].B1=0;
> > > > ch1->iir[0].B2=0;
> > > > ch1->iir[0].A1=0;
> > > > ch1->iir[0].A2=0;
> > > >
> > > > ch1->iir[1].B0=1;
> > > > ch1->iir[1].B1=0;
> > > > ch1->iir[1].B2=0;
> > > > ch1->iir[1].A1=0;
> > > > ch1->iir[1].A2=0;
> > > >
> > > > ch1->iir[2].B0=1;
> > > > ch1->iir[2].B1=0;
> > > > ch1->iir[2].B2=0;
> > > > ch1->iir[2].A1=0;
> > > > ch1->iir[2].A2=0;
> > > > EnableAxisDest(1,0);
> > > >
> > > > ch2->InputMode=NO_INPUT_MODE;
> > > > ch2->OutputMode=STEP_DIR_MODE;
> > > > ch2->Vel=300000;
> > > > ch2->Accel=3000000;
> > > > ch2->Jerk=30000000;
> > > > ch2->P=1;
> > > > ch2->I=0;
> > > > ch2->D=0;
> > > > ch2->FFAccel=0;
> > > > ch2->FFVel=0;
> > > > ch2->MaxI=200;
> > > > ch2->MaxErr=1000000;
> > > > ch2->MaxOutput=200;
> > > > ch2->DeadBandGain=1;
> > > > ch2->DeadBandRange=0;
> > > > ch2->InputChan0=2;
> > > > ch2->InputChan1=2;
> > > > ch2->OutputChan0=2;
> > > > ch2->OutputChan1=5;
> > > > ch2->MasterAxis=-1;
> > > > ch2->LimitSwitchOptions=0x0;
> > > > ch2->InputGain0=1;
> > > > ch2->InputGain1=1;
> > > > ch2->InputOffset0=0;
> > > > ch2->InputOffset1=0;
> > > > ch2->OutputGain=1;
> > > > ch2->OutputOffset=0;
> > > > ch2->SlaveGain=1;
> > > > ch2->BacklashMode=BACKLASH_OFF;
> > > > ch2->BacklashAmount=0;
> > > > ch2->BacklashRate=0;
> > > > ch2->invDistPerCycle=1;
> > > > ch2->Lead=0;
> > > > ch2->MaxFollowingError=1000000000;
> > > > ch2->StepperAmplitude=20;
> > > >
> > > > ch2->iir[0].B0=1;
> > > > ch2->iir[0].B1=0;
> > > > ch2->iir[0].B2=0;
> > > > ch2->iir[0].A1=0;
> > > > ch2->iir[0].A2=0;
> > > >
> > > > ch2->iir[1].B0=1;
> > > > ch2->iir[1].B1=0;
> > > > ch2->iir[1].B2=0;
> > > > ch2->iir[1].A1=0;
> > > > ch2->iir[1].A2=0;
> > > >
> > > > ch2->iir[2].B0=1;
> > > > ch2->iir[2].B1=0;
> > > > ch2->iir[2].B2=0;
> > > > ch2->iir[2].A1=0;
> > > > ch2->iir[2].A2=0;
> > > > EnableAxisDest(2,0);
> > > >
> > > > DefineCoordSystem(0,1,2,-1);
> > > >
> > > > return 0;
> > > > }
> > > >
> > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > > >
> > > > > Hi Jose,
> > > > > Â
> > > > > Do you have a statement like this in your Init file?
> > > > > Â
> > > > > Â DefineCoordSystem(0,1,-1,-1);
> > > > >
> > > > > Otherwise post your Init file for us to look at.
> > > > > Â
> > > > > Regards,
> > > > > TK
> > > > >
> > > > >
> > > > > --- On Sun, 7/3/11, Jose <hydropro76@> wrote:
> > > > >
> > > > >
> > > > > From: Jose <hydropro76@>
> > > > > Subject: [DynoMotion] Help me please!
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Date: Sunday, July 3, 2011, 7:05 AM
> > > > >
> > > > >
> > > > > Â
> > > > >
> > > > >
> > > > >
> > > > > Hello Everybody! I've been playing with my Kflop board for the last few days and was able to tune the stepper motors and drives within Kmotion with no problems. I'm also able to send motion commands through the Kmotion console screen. I've created an initailization file and downloaded it to the Kflop board just fine. The problem I'm having is that when I setup the mach3 plugin everything looks good, but when I go to jog the motors, nothing happens. The DRO's on the mach3 screen don't change when I press the jog buttons. I then tried using KmotionCNC and still no movements. I tried updating Mach3, restarted my PC, and still no luck. Any help will be greatly appreciated.
> > > > >
> > > > > Regards,
> > > > >
> > > > > Jose
> > > > >
> > > >
> > > >
> > >
> >
> >
>
Group: DynoMotion Message: 1421 From: Tom Kerekes Date: 7/4/2011
Subject: Re: Help me please!
Hi Jose,
 
Mach3 requires that each axis that is used must be enabled on the Config | Port&Pins | Motor Outputs page.  But KFLOP generates the Step/Dir signals so set the Port to something unused like port 0.
 
Most any Version of Mach3 should be able to Jog, but I've been using 3.42.36.
 
I don't know why the Plugin wouldn't remain enabled.  There is a Save Settings menu item that save the settings.  You might try that.  Mach3 seems to have a quirk that it sometimes saves the XML file in the current directory rather than in the Mach3 directory.  Check the file timestamp to make sure it is really being saved.
 
Regards
TK
 
--- On Sun, 7/3/11, Jose <hydropro76@...> wrote:

From: Jose <hydropro76@...>
Subject: [DynoMotion] Re: Help me please!
To: DynoMotion@yahoogroups.com
Date: Sunday, July 3, 2011, 11:08 AM

 
That was it! The simulate box is checked when KmotionCNC starts up. Kmotion CNC works fine now. I tried Mach3 again but still no movement in the DRO's or motors! The status bar on Mach3 states "Dynomotion status: OK". The motor output pins in Mach3 are set to Step/Dir Xaxis 8/9 Yaxis 10/11 Zaxis 12/13 is this correct? Maybe I should downgrade to an older version of Mach3. What version are you using v2.63? Also when I restart Mach3 the Dynomotion Plugin is disabled and needs to be enabled before the "status: ok" message is displayed. Thanks again.

Regards, Jose

--- In DynoMotion@yahoogroups.com, TK <tk@...> wrote:
>
> Do you have "Simulate" checked in KmotionCNC? What color are the DROs?
>
> TK
>
> On Jul 3, 2011, at 9:51 AM, "Jose" <hydropro76@...> wrote:
>
> >
> >
> > Hey TK,
> >
> > In KmotionCNC is does show "connected", the DRO's do change when I hit the jog buttons with no motor movement, and no it does not move with Gcode. Moving using the console screen does not change the DRO's in KmotionCNC, but it does update the location in the "AXIS" screen. Just for the record I'm using the updated ver4.25 of the Kflop software.
> >
> > Regards, Jose
> >
> > --- In DynoMotion@yahoogroups.com, TK <tk@> wrote:
> > >
> > > Hi Jose,
> > >
> > > That looks correct. In KmotionCNC does it show connected? Does the DRO change? Can you move using GCode? If you move using the Console Screen does the KmotionCNC DRO change?
> > >
> > > TK
> > >
> > > On Jul 3, 2011, at 7:55 AM, "Jose" <hydropro76@> wrote:
> > >
> > > > Hi TK,
> > > >
> > > > This is the Init file I downloaded into Kflop. Thanks for your help.
> > > >
> > > > #include "KMotionDef.h"
> > > >
> > > > // Defines axis 0, 1, 2 as simple step dir outputs
> > > > // enables them
> > > > // sets them as an xyz coordinate system for GCode
> > > >
> > > > int main()
> > > > {
> > > > ch0->InputMode=NO_INPUT_MODE;
> > > > ch0->OutputMode=STEP_DIR_MODE;
> > > > ch0->Vel=300000;
> > > > ch0->Accel=3000000;
> > > > ch0->Jerk=30000000;
> > > > ch0->P=1;
> > > > ch0->I=0;
> > > > ch0->D=0;
> > > > ch0->FFAccel=0;
> > > > ch0->FFVel=0;
> > > > ch0->MaxI=200;
> > > > ch0->MaxErr=1000000;
> > > > ch0->MaxOutput=200;
> > > > ch0->DeadBandGain=1;
> > > > ch0->DeadBandRange=0;
> > > > ch0->InputChan0=0;
> > > > ch0->InputChan1=0;
> > > > ch0->OutputChan0=0;
> > > > ch0->OutputChan1=0;
> > > > ch0->MasterAxis=-1;
> > > > ch0->LimitSwitchOptions=0x0;
> > > > ch0->InputGain0=1;
> > > > ch0->InputGain1=1;
> > > > ch0->InputOffset0=0;
> > > > ch0->InputOffset1=0;
> > > > ch0->OutputGain=1;
> > > > ch0->OutputOffset=0;
> > > > ch0->SlaveGain=1;
> > > > ch0->BacklashMode=BACKLASH_OFF;
> > > > ch0->BacklashAmount=0;
> > > > ch0->BacklashRate=0;
> > > > ch0->invDistPerCycle=1;
> > > > ch0->Lead=0;
> > > > ch0->MaxFollowingError=1000000000;
> > > > ch0->StepperAmplitude=20;
> > > >
> > > > ch0->iir[0].B0=1;
> > > > ch0->iir[0].B1=0;
> > > > ch0->iir[0].B2=0;
> > > > ch0->iir[0].A1=0;
> > > > ch0->iir[0].A2=0;
> > > >
> > > > ch0->iir[1].B0=1;
> > > > ch0->iir[1].B1=0;
> > > > ch0->iir[1].B2=0;
> > > > ch0->iir[1].A1=0;
> > > > ch0->iir[1].A2=0;
> > > >
> > > > ch0->iir[2].B0=0.0007689999765716;
> > > > ch0->iir[2].B1=0.001537999953143;
> > > > ch0->iir[2].B2=0.0007689999765716;
> > > > ch0->iir[2].A1=1.920809984207;
> > > > ch0->iir[2].A2=-0.9238849878311;
> > > > EnableAxisDest(0,0);
> > > >
> > > > ch1->InputMode=NO_INPUT_MODE;
> > > > ch1->OutputMode=STEP_DIR_MODE;
> > > > ch1->Vel=300000;
> > > > ch1->Accel=3000000;
> > > > ch1->Jerk=30000000;
> > > > ch1->P=1;
> > > > ch1->I=0;
> > > > ch1->D=0;
> > > > ch1->FFAccel=0;
> > > > ch1->FFVel=0;
> > > > ch1->MaxI=200;
> > > > ch1->MaxErr=1000000;
> > > > ch1->MaxOutput=200;
> > > > ch1->DeadBandGain=1;
> > > > ch1->DeadBandRange=0;
> > > > ch1->InputChan0=1;
> > > > ch1->InputChan1=1;
> > > > ch1->OutputChan0=1;
> > > > ch1->OutputChan1=3;
> > > > ch1->MasterAxis=-1;
> > > > ch1->LimitSwitchOptions=0x0;
> > > > ch1->InputGain0=1;
> > > > ch1->InputGain1=1;
> > > > ch1->InputOffset0=0;
> > > > ch1->InputOffset1=0;
> > > > ch1->OutputGain=1;
> > > > ch1->OutputOffset=0;
> > > > ch1->SlaveGain=1;
> > > > ch1->BacklashMode=BACKLASH_OFF;
> > > > ch1->BacklashAmount=0;
> > > > ch1->BacklashRate=0;
> > > > ch1->invDistPerCycle=1;
> > > > ch1->Lead=0;
> > > > ch1->MaxFollowingError=1000000000;
> > > > ch1->StepperAmplitude=20;
> > > >
> > > > ch1->iir[0].B0=1;
> > > > ch1->iir[0].B1=0;
> > > > ch1->iir[0].B2=0;
> > > > ch1->iir[0].A1=0;
> > > > ch1->iir[0].A2=0;
> > > >
> > > > ch1->iir[1].B0=1;
> > > > ch1->iir[1].B1=0;
> > > > ch1->iir[1].B2=0;
> > > > ch1->iir[1].A1=0;
> > > > ch1->iir[1].A2=0;
> > > >
> > > > ch1->iir[2].B0=1;
> > > > ch1->iir[2].B1=0;
> > > > ch1->iir[2].B2=0;
> > > > ch1->iir[2].A1=0;
> > > > ch1->iir[2].A2=0;
> > > > EnableAxisDest(1,0);
> > > >
> > > > ch2->InputMode=NO_INPUT_MODE;
> > > > ch2->OutputMode=STEP_DIR_MODE;
> > > > ch2->Vel=300000;
> > > > ch2->Accel=3000000;
> > > > ch2->Jerk=30000000;
> > > > ch2->P=1;
> > > > ch2->I=0;
> > > > ch2->D=0;
> > > > ch2->FFAccel=0;
> > > > ch2->FFVel=0;
> > > > ch2->MaxI=200;
> > > > ch2->MaxErr=1000000;
> > > > ch2->MaxOutput=200;
> > > > ch2->DeadBandGain=1;
> > > > ch2->DeadBandRange=0;
> > > > ch2->InputChan0=2;
> > > > ch2->InputChan1=2;
> > > > ch2->OutputChan0=2;
> > > > ch2->OutputChan1=5;
> > > > ch2->MasterAxis=-1;
> > > > ch2->LimitSwitchOptions=0x0;
> > > > ch2->InputGain0=1;
> > > > ch2->InputGain1=1;
> > > > ch2->InputOffset0=0;
> > > > ch2->InputOffset1=0;
> > > > ch2->OutputGain=1;
> > > > ch2->OutputOffset=0;
> > > > ch2->SlaveGain=1;
> > > > ch2->BacklashMode=BACKLASH_OFF;
> > > > ch2->BacklashAmount=0;
> > > > ch2->BacklashRate=0;
> > > > ch2->invDistPerCycle=1;
> > > > ch2->Lead=0;
> > > > ch2->MaxFollowingError=1000000000;
> > > > ch2->StepperAmplitude=20;
> > > >
> > > > ch2->iir[0].B0=1;
> > > > ch2->iir[0].B1=0;
> > > > ch2->iir[0].B2=0;
> > > > ch2->iir[0].A1=0;
> > > > ch2->iir[0].A2=0;
> > > >
> > > > ch2->iir[1].B0=1;
> > > > ch2->iir[1].B1=0;
> > > > ch2->iir[1].B2=0;
> > > > ch2->iir[1].A1=0;
> > > > ch2->iir[1].A2=0;
> > > >
> > > > ch2->iir[2].B0=1;
> > > > ch2->iir[2].B1=0;
> > > > ch2->iir[2].B2=0;
> > > > ch2->iir[2].A1=0;
> > > > ch2->iir[2].A2=0;
> > > > EnableAxisDest(2,0);
> > > >
> > > > DefineCoordSystem(0,1,2,-1);
> > > >
> > > > return 0;
> > > > }
> > > >
> > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > > >
> > > > > Hi Jose,
> > > > > Â
> > > > > Do you have a statement like this in your Init file?
> > > > > Â
> > > > > Â DefineCoordSystem(0,1,-1,-1);
> > > > >
> > > > > Otherwise post your Init file for us to look at.
> > > > > Â
> > > > > Regards,
> > > > > TK
> > > > >
> > > > >
> > > > > --- On Sun, 7/3/11, Jose <hydropro76@> wrote:
> > > > >
> > > > >
> > > > > From: Jose <hydropro76@>
> > > > > Subject: [DynoMotion] Help me please!
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Date: Sunday, July 3, 2011, 7:05 AM
> > > > >
> > > > >
> > > > > Â
> > > > >
> > > > >
> > > > >
> > > > > Hello Everybody! I've been playing with my Kflop board for the last few days and was able to tune the stepper motors and drives within Kmotion with no problems. I'm also able to send motion commands through the Kmotion console screen. I've created an initailization file and downloaded it to the Kflop board just fine. The problem I'm having is that when I setup the mach3 plugin everything looks good, but when I go to jog the motors, nothing happens. The DRO's on the mach3 screen don't change when I press the jog buttons. I then tried using KmotionCNC and still no movements. I tried updating Mach3, restarted my PC, and still no luck. Any help will be greatly appreciated.
> > > > >
> > > > > Regards,
> > > > >
> > > > > Jose
> > > > >
> > > >
> > > >
> > >
> >
> >
>